Crowdsignal_Forms\Gateways\Api_Gateway A

Total Complexity 52
Dependencies 5
Dependents 1
Total lines 548
Lines of code 289
Logical lines of code 127
Comment lines 179
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
create_or_update_poll()
S
44 5 55
perform_request()
S
50 5 27
get_account_info()
S
58 5 15
get_is_user_verified()
S
58 5 15
get_capabilities()
S
58 5 15
get_poll_results()
S
57 4 16
handle_api_response()
S
59 4 14
update_feedback()
S
52 3 27
update_nps()
S
52 3 27
update_feedback_response()
S
54 2 25
update_nps_response()
S
54 2 25
is_poll_response_valid()
S
78 2 3
get_poll()
S
72 1 5
unarchive_poll()
S
74 1 4
archive_poll()
S
74 1 4
update_poll()
S
80 1 3
log_webservice_event()
S
79 1 3
create_poll()
S
80 1 3
get_polls()
S
82 1 3